package com.ruoyi.model.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;

@Getter
public enum SexType {

    MALE(0, "男"),

    FEMALE(1, "女");

    @EnumValue
    private final Integer code;
    private final String value;

    SexType(Integer code, String value) {
        this.code = code;
        this.value = value;
    }
}
